package com.ruoyi.WELD.domain;

import com.ruoyi.common.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Welding extends BaseWeld {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @Excel(name = "车型", sort = 1)
    private String vehicleType;

    @Excel(name = "工位", sort = 2)
    private String station;

    @Excel(name = "机器人名称", sort = 3)
    private String robot;

    @Excel(name = "焊枪编号", sort = 4)
    private String torchNumber;

    @Excel(name = "焊点号(五位焊点号)", sort = 5)
    private String solderJoint;

    @Excel(name = "数模焊点号", sort = 6)
    private String sjNumber;

    @Excel(name = "焊点坐标(X)", sort = 7)
    private Double x;

    @Excel(name = "焊点坐标(Y)", sort = 8)
    private Double y;

    @Excel(name = "焊点坐标(Z)", sort = 9)
    private Double z;

    @Excel(name = "额定压力", sort = 12)
    private String ratedPressure;

    @Excel(name = "Product", sort = 18)
    private String product;

    @Excel(name = "JCPN1", sort = 19)
    private String jcpn1;

    @Excel(name = "JCPN2", sort = 24)
    private String jcpn2;

    @Excel(name = "JCPN3", sort = 29)
    private String jcpn3;

    @Excel(name = "JCPN4", sort = 34)
    private String jcpn4;



    public Welding() {
    }

    public Welding(Integer gaugeNumber, String electrodeForm, String parametricForm, String material1, Double materialThickness1, String gumming1, String material2, Double materialThickness2, String gumming2, String material3, Double materialThickness3, String gumming3, String material4, Double materialThickness4, String stress, Double preloadingTime, Double pressurizationTime, Double preheatingTime, Double preheatingCurrent, Double coolingTime, Double incrementalTime, Double startingCurrent, Double weldingTime, Double weldingCurrent, Double coolingTime1, Double declineTime, Double terminationCurrent, Double pulseFrequency, Double coolingTime2, Double temperingTime, Double temperingCurrent, Double holdTime, String temperingMethod, String preheatingMethod, String weldingMethod, String increaseDecrease, Integer id, String station, String robot, String torchNumber, String solderJoint, String sjNumber, Double x, Double y, Double z, String ratedPressure, String product, String jcpn1, String jcpn2, String jcpn3, String jcpn4, String vehicleType) {
        super(gaugeNumber, electrodeForm, parametricForm, material1, materialThickness1, gumming1, material2, materialThickness2, gumming2, material3, materialThickness3, gumming3, material4, materialThickness4, stress, preloadingTime, pressurizationTime, preheatingTime, preheatingCurrent, coolingTime, incrementalTime, startingCurrent, weldingTime, weldingCurrent, coolingTime1, declineTime, terminationCurrent, pulseFrequency, coolingTime2, temperingTime, temperingCurrent, holdTime, temperingMethod, preheatingMethod, weldingMethod, increaseDecrease);
        this.id = id;
        this.station = station;
        this.robot = robot;
        this.torchNumber = torchNumber;
        this.solderJoint = solderJoint;
        this.sjNumber = sjNumber;
        this.x = x;
        this.y = y;
        this.z = z;
        this.ratedPressure = ratedPressure;
        this.product = product;
        this.jcpn1 = jcpn1;
        this.jcpn2 = jcpn2;
        this.jcpn3 = jcpn3;
        this.jcpn4 = jcpn4;
        this.vehicleType = vehicleType;
    }

    @Override
    public String toString() {
        return "Welding{" +
                "id=" + id +
                ", station='" + station + '\'' +
                ", robot='" + robot + '\'' +
                ", torchNumber='" + torchNumber + '\'' +
                ", solderJoint='" + solderJoint + '\'' +
                ", sjNumber='" + sjNumber + '\'' +
                ", x=" + x +
                ", y=" + y +
                ", z=" + z +
                ", ratedPressure='" + ratedPressure + '\'' +
                ", product='" + product + '\'' +
                ", jcpn1='" + jcpn1 + '\'' +
                ", jcpn2='" + jcpn2 + '\'' +
                ", jcpn3='" + jcpn3 + '\'' +
                ", jcpn4='" + jcpn4 + '\'' +
                ", vehicleType='" + vehicleType + '\'' +
                '}';
    }
}



